//
//  LLModelClassProperty.m
//  XinGe
//
//  Created by xtomy on 13-8-14.
//  Copyright (c) 2013年 Tomy. All rights reserved.
//

#import "LLModelClassProperty.h"

@implementation LLModelClassProperty

- (void)dealloc
{
    [_name release];
    _name = nil;
    [_protocol release];
    _protocol = nil;
    [super dealloc];
}

-(NSString*)description
{
    return [NSString stringWithFormat:@"%@[@%@]<%@> %@ %@ %@ %@", self.name, self.type?self.type:@"primitive", self.protocol?self.protocol:@"", self.isOptional?@"Optional,":@"",self.isMutable?@"Mutable,":@"",self.convertsOnDemand?@"ConvertOnDemand,":@"",self.isStandardJSONType?@"JSONType":@""];
}

@end
